package com.yao.seckill.web.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yaobing
 * @since 2022-09-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rabbit_confirm_msg")
public class RabbitConfirmMsg implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * correlationDataId
     */
    private String correlationDataId;

    /**
     * 发送的消息
     */
    private String body;

    /**
     * 发送到的交换机
     */
    private String exchange;

    /**
     * 使用到的路由键
     */
    private String routingKey;

    /**
     * reply_code
     */
    private Integer replyCode;

    /**
     * reply_text
     */
    private String replyText;

    /**
     * 0发送成功 1发送失败
     */
    private Integer status;

    /**
     * 失败原因
     */
    private String cause;

    /**
     * 记录生成时间
     */
    private LocalDateTime createTime;

    /**
     * 记录上次修改时间
     */
    private LocalDateTime updateTime;


}
